<?php

/**
 * 公共模块配置
 */

/*
 |--------------------------------------------------------------------------
 | 端口配置不同身份进入不同的端口来控制对服务器的访问权限
 | 根据配置端口访问的uri来识别访问端口的类型
 |--------------------------------------------------------------------------
 |
 */
$config['port'] = array(
					'admin' => 'portAdmin',   //后台管理
					'county' => 'portCounty',   //区域后台管理
					'consumer' => 'portConsumer',   //消费者
					'merchant' => 'portMerchant', //商户
					'deliveryman' => 'portDeliveryman', //专送
);

/*
 |--------------------------------------------------------------------------
 | app终端访问配置
 |--------------------------------------------------------------------------
 |
 */
$config['terminal'] = array(
						'app' => 'trmlApp',  // 手机app端 
						'pc'  => 'trmlPc',    //电脑端
						'wx'  => 'trmlWx',    //电脑端
					);

/*
 |--------------------------------------------------------------------------
 | 短信配置
 |--------------------------------------------------------------------------
 |
 */
$config['sms'] = array(
    'sign' => '【GOGO到家】',
    'username' => 'E101S5',
    'passwd'  => 'zQw1s6'
);

/*
 |--------------------------------------------------------------------------
 | 环信配置
 |--------------------------------------------------------------------------
 |
 */
$config['easemob'] = array(
    'client_id' => 'YXA68CFBkAupEeiYIJ9DPIp06w',
    'client_secret' => 'YXA6FqxvESc43bS27Hn_0ISsoU-cGio',
    'org_name'  => '1177171227178386',
    'app_name'  => 'gbjs-manager'
);
/*
 |--------------------------------------------------------------------------
 | 验证码过期时间
 |--------------------------------------------------------------------------
 |
 */
$config['sms_expire'] = 2;

/*
 |--------------------------------------------------------------------------
 | 分页条数配置
 |--------------------------------------------------------------------------
 |
 */
$config['page_size'] = 6;

/*
 |--------------------------------------------------------------------------
 | 订单支付时间配置
 |--------------------------------------------------------------------------
 |
 */
$config['order_expire'] = 30;//(分钟)
/*
 |--------------------------------------------------------------------------
 |  商家接单时间配置
 |--------------------------------------------------------------------------
 |
 */
$config['expect_take_time'] = 0;//(分钟)
/*
 |--------------------------------------------------------------------------
 |  预订单时间配置 [预计送达时间减去当前时间大于这个时间的为预订单]
 |--------------------------------------------------------------------------
 |
 */
$config['arrive_time'] = 70;//(分钟)

/*
 |--------------------------------------------------------------------------
 |  商家端限制同时登陆台数
 |--------------------------------------------------------------------------
 |
 */
$config['merchant_number'] = 5;
$config['consumer_number'] = 2;

/*
 |--------------------------------------------------------------------------
 | 城市简称
 |--------------------------------------------------------------------------
 |
 */
$config['city_abbreviation'] = array(
								  '京',
								  '津',
								  '沪',
								  '渝',
								  '冀',
								  '豫',
								  '云',
								  '辽',
								  '黑',
								  '湘',
								  '皖',
								  '鲁',
								  '新',
								  '苏',
								  '浙',
								  '赣',
								  '鄂',
								  '桂',
								  '甘',
								  '晋',
								  '蒙',
								  '陕',
								  '吉',
								  '闽',
								  '贵',
								  '粤',
								  '川',
								  '青',
								  '藏',
								  '琼',
								  '宁'
							  );

/*
 |--------------------------------------------------------------------------
 | 所有字母配置
 |--------------------------------------------------------------------------
 |
 */
$config['letter'] = array(
						'A',
						'B',
						'C',
						'D',
						'E',
						'F',
						'G',
						'H',
						'I',
						'J',
						'K',
						'L',
						'M',
						'N',
						'O',
						'P',
						'Q',
						'R',
						'S',
						'T',
						'U',
						'V',
						'W',
						'X',
						'Y',
						'Z'
				);

/*
 |--------------------------------------------------------------------------
 | 直辖市配置
 |--------------------------------------------------------------------------
 |
 */
$config['municipality'] = array('重庆市', '北京市', '上海市', '天津市');

/*
 |--------------------------------------------------------------------------
 | wap 端 token秘钥
 |--------------------------------------------------------------------------
 |
 */
$config['wap_token_key'] = 'Kw876gPdcw0CPwywA65P1C5y02070zu0';
/*
 |--------------------------------------------------------------------------
 | 激光推送设置
 |--------------------------------------------------------------------------
 |
 */
$config['jpush'] = array(
		'app_key' => '363bcaf9bbe06ecac5809599',
		'master_secret' => '6593c488bf275cc7182f03fd'
);

/*
 |--------------------------------------------------------------------------
 | 商家激光推送设置
 |--------------------------------------------------------------------------
 |
 */
$config['merchant_jpush'] = array(
		'app_key' => 'aea268aa33e5345f4e9bab5f',
		'master_secret' => 'b8651662b16edadf7a52a592'
);
/*
 |--------------------------------------------------------------------------
 | 配送员激光推送设置
 |--------------------------------------------------------------------------
 |
 */
$config['deliveryman_jpush'] = array(
    'app_key' => '72f6a2b7f34f720ce1a35297',
    'master_secret' => '0897ce22b94b8a738c97a52c'
);

/*
 |--------------------------------------------------------------------------
 | 广告位置配置
 |--------------------------------------------------------------------------
 |
 */
$config['ads_position'] = array(
    1 =>'首页',
    2 => '轮播图',
    3 => '中部左边',
    4 => '中部右上',
    5 => '中部右下',
);



$config['max_cart_product_count'] = 50;

/*
 |--------------------------------------------------------------------------
 | 快递鸟配置
 |--------------------------------------------------------------------------
 |
 */
$config['kdn_Api_ID'] = '1312952';
$config['kdn_Api_Key'] = '2efe7611-6f32-46fd-a001-093ffab882c2';